package com.vivo.tool.eclipsestarter;

/**
 * Constant holder.<br>
 * 
 * Represents a singleton.
 * 
 * @author vivo
 * 
 * @version 0.14
 */

public class Constant {

	/**
	 * Holds singleton instance
	 */
	private static Constant instance;

	/**
	 * prevents instantiation
	 */
	private Constant() {
	// prevent creation
	}

	/**
	 * Returns the singleton instance.
	 * 
	 * @return the singleton instance
	 */
	static public Constant getInstance() {
		if (instance == null) {
			instance = new Constant();
		}
		return instance;
	}

	/** Singleton element above... **/

	public static final boolean OUTPUT = true;
	public static final boolean DEBUG = true;
	
	// Root Directory of eclipse.
//	public static String strEclipsePath = "E:\\java\\eclipse";
	public static String strEclipsePath = "E:\\testlinkfiles";
	// Root Directory thar store eclipse-plugin.
	public static String strPluginPath = "E:\\java\\eclipse-Plugins";
	// Directory stores the all of linkfiles.
	public static String strPluginLinkPath = "E:\\Java\\eclipse-plugins\\linkfiles";
	// Temporary pluginsuit save
	public static String strMySelection = "mysuit.xml";
	// Eclipse.exe path
	public static String strEclipseExePath ="mspaint.exe";//  "E:\\java\\eclipse\\eclipse.exe";
}
